I've been working on a platformer that loads levels off of an image. So far everything works fine but I'm not sure what to actually do with it. If anyone has any ideas please do tell.
If you want to try it out the green blocks are spawn points, spikes are spikes. Press 'r' to respawn, arrow keys or a + d to move and space to jump.
A platformer of sorts
A platformer of sorts
- Attachments
-
- Platform.love
- (3.61 KiB) Downloaded 187 times
Re: A platformer of sorts
Wow, that's actually really useful for a lot of things actually. Do you mind if I modify this code?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: A platformer of sorts
Feel free, as long as you re-upload so I can take a look
Re: A platformer of sorts
Huh, I've played around with loading levels based off images in the past too, Used it in my snake clone.
You could use elseif in your load_map function instead of all the if's, Don't think it'll make any huge differences, But it'll look cleaner.
You could use elseif in your load_map function instead of all the if's, Don't think it'll make any huge differences, But it'll look cleaner.
Re: A platformer of sorts
Thanks! I'll be sure to credit you!Jimanzium wrote:Feel free, as long as you re-upload so I can take a look
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: A platformer of sorts
I think there are worse parts that could be cleaner
Who is online
Users browsing this forum: No registered users and 8 guests