I knew it was something easy like that >.<
Okay now...The draw function...If I use ents.x or the math.random(10, 390) it's going to spawn the entity one place and the image another...How do I avoid that?
Search found 7 matches
- Mon Jan 21, 2013 9:42 pm
- Forum: Support and Development
- Topic: I'm doing something wrong here with my random spawning...
- Replies: 3
- Views: 1992
- Mon Jan 21, 2013 8:54 pm
- Forum: Support and Development
- Topic: I'm doing something wrong here with my random spawning...
- Replies: 3
- Views: 1992
I'm doing something wrong here with my random spawning...
The code is supposed to spawn spawn a new entity at a random location when the spawnTimer = 0 but it doesn't. It's probably a derp mistake but I can't seem to figure it out. File is attached.
- Sun Jan 20, 2013 9:55 pm
- Forum: Support and Development
- Topic: Some assistance with Dynamic spawning of entities?
- Replies: 2
- Views: 2614
Re: Some assistance with Dynamic spawning of entities?
Lol I do understand my code. Actually I got fed up with that guy's stuff and deleted all of it and started from scratch. Anyways I guess my question was answered with the "math.random()" statement. I guess for some reason I overlooked that when I was reading through the libraries. Thank yo...
- Sat Jan 19, 2013 3:14 am
- Forum: Support and Development
- Topic: Some assistance with Dynamic spawning of entities?
- Replies: 2
- Views: 2614
Some assistance with Dynamic spawning of entities?
I've been trying to make a 1944 clone as a sort of "test" game to test how much I've learned and what I still need to learn. Well I've encountered something I can't seem to figure out: Random spawning. I've attached my .love for the "game" and as you can see, it isn't much at all...
- Sun Jan 06, 2013 6:00 am
- Forum: Support and Development
- Topic: Help making a little "menu?"
- Replies: 5
- Views: 2842
Re: Help making a little "menu?"
Holy crap, man. You are awesome. Thank you so much. I definitely understand everything you changed and why it had to be changed. You're a freaking life savor. Great! I'm glad I could help :) Any ideas on how I might be able to fix that blur that happens when he runs? Is it just because the sprite i...
- Sun Jan 06, 2013 5:22 am
- Forum: Support and Development
- Topic: Help making a little "menu?"
- Replies: 5
- Views: 2842
Re: Help making a little "menu?"
Holy crap, man. You are awesome. Thank you so much. I definitely understand everything you changed and why it had to be changed. You're a freaking life savor.
- Sun Jan 06, 2013 2:58 am
- Forum: Support and Development
- Topic: Help making a little "menu?"
- Replies: 5
- Views: 2842
Help making a little "menu?"
Basically I'm trying to make a "menu" that will spawn a button when I hold down a button("q" for right now.) I could swear the code should work, but for some reason it isn't. I've attached a .zip file with all the current files I have for it. So far all it has is Link running aro...