Search found 50 matches

by bramblez
Mon Feb 04, 2013 2:24 am
Forum: Support and Development
Topic: [Solved] Managing buttons in table in the same state
Replies: 2
Views: 1318

Re: [Not solved] Managing buttons in table in the same state

as always saved me :) thanks alot! works like a charm ^^
by bramblez
Sat Feb 02, 2013 6:57 am
Forum: Support and Development
Topic: [Solved] Managing buttons in table in the same state
Replies: 2
Views: 1318

[Solved] Managing buttons in table in the same state

Hello everyone! I am trying to make a basic menu with options and few different states. I have a table with button, to generate new buttons for every new state and right now i am facing a problem of managing those buttons. Lets say I want some buttons to chane depending on what key user is clicking,...
by bramblez
Tue Jan 29, 2013 4:40 pm
Forum: Support and Development
Topic: [Solved] Problem with states and drawing buttons
Replies: 6
Views: 2366

Re: [Solved] Problem with states and drawing buttons

Thank you so much! I am not very good at programming, i thought function draw, draws objects itself and load only loads them into memory, so you could use them whenever you want with draw functions and stuff :) thank you very much! i get it now
by bramblez
Mon Jan 28, 2013 4:59 pm
Forum: Support and Development
Topic: [Solved] Problem with states and drawing buttons
Replies: 6
Views: 2366

Re: [not Solved] Problem with states and drawing

here is all i've got so far >< i can't get it, where do i use setmode(m) function?
by bramblez
Mon Jan 28, 2013 2:48 am
Forum: Support and Development
Topic: [Solved] Problem with states and drawing buttons
Replies: 6
Views: 2366

Re: [Solved] Problem with states and drawing

Can you tell me, depending on my button table what would be the function to delete the button?
by bramblez
Sun Jan 27, 2013 3:55 pm
Forum: Support and Development
Topic: [Solved] Problem with states and drawing buttons
Replies: 6
Views: 2366

[Solved] Problem with states and drawing buttons

Hello, lovers! I am experimenting with menu creation and states. I can't understand why I am getting those results, but here is the deal. There is a "menu" state with some number of buttons, but whe i change that state let's say to "options" state - buttons from "menu" ...
by bramblez
Tue Dec 25, 2012 10:51 am
Forum: Support and Development
Topic: Solved! [Collision] Bullets hitting target
Replies: 3
Views: 1413

Soved [Collision] Bullets hitting target

I solved it myself, just had to put update function inside of a bullet table update, instead of main.lua
by bramblez
Mon Dec 24, 2012 7:11 am
Forum: Support and Development
Topic: Solved! [Collision] Bullets hitting target
Replies: 3
Views: 1413

Solved! [Collision] Bullets hitting target

Ok, here is the problem. I have a static circle (target) drawn on the screen and a player controled circle wich shoots little circle-bullets. I have a separate .lua file for bullets. function bullets_load() shoot = love.audio.newSource("data/sound/click.ogg") bulletspeed = 2500 bullets = {...
by bramblez
Wed Dec 12, 2012 10:53 am
Forum: Support and Development
Topic: [Solved!] Cursor movement problem
Replies: 9
Views: 4689

Re: [new issue] Cursor movement problem

Thank you, that is what i was looking for! ^^ :awesome:
by bramblez
Wed Dec 12, 2012 10:33 am
Forum: Support and Development
Topic: [Solved!] Cursor movement problem
Replies: 9
Views: 4689

Re: [new issue] Cursor movement problem

I managed to twicked something out. it looks better, but center of camera rotation is at the begining of coordinate system.