Also in that thread, thanks to Michael516 for his explanation of platforms, as I had missed the velocity portion which through comparison of my code and his I was able to determine.
This version only contains 4 "Tutorial" levels that explain the gimmicks of the game. I have some other levels made in a version at home. If anyone has any ideas for some other gimmicks, I'm welcome to hear some of them.
I already have a level editor planned out in my head which I intend to do at a later date.
Posted: Tue Jun 17, 2008 9:47 am Post subject: RE:My Turing Platformer Game
Not bad!
Did you use View.Update in it? It flickers a lot.
Next step- Replace boxes & circles with pictures/sprites. Upload the other levels, I beg you!
Warchamp7
Posted: Tue Jun 17, 2008 2:18 pm Post subject: Re: RE:My Turing Platformer Game
insectoid @ Tue Jun 17, 2008 9:47 am wrote:
Not bad!
Did you use View.Update in it? It flickers a lot.
Next step- Replace boxes & circles with pictures/sprites. Upload the other levels, I beg you!
You know, I had never really tinkered with it. I would toss it in and everything would trail and not erase right. Now that I think about it, all I need to do is draw a white version of whatever is changing heh
Which I have just done and it looks great
The levels themselves I actually made very flexible. All the platforms get checks in the main loop. So every time the game loops (Exiting the game loop after each level) it sets level + 1 and then through a if, elsif statement, each level is just the variables for everything. If I'm not using a platform, I just place it offscreen. Coins have a boolean and only display if it's true, etc.
I'm rather proud of myself for the set up actually XD
For the heck of it, I'll post my level 1 code with some added comments signified by two %
code:
%%Number of Coins to be collected
NumCoins := 0
%%Coins collected so far, set to 0 before even checking levels
CoinsCol := 0
%Level definitions Here
if level = 1 then
%Player Start
posx := 20
posy := 50
%Platform variables
%%The platforms are actually drawn at ground level for level 1 as there are none
Plat1x := 100
Plat1y := 0
More comments on this please! All feedback is appreciated!
Warchamp7
Posted: Wed Jun 18, 2008 3:48 pm Post subject: Re: My Turing Platformer Game
Wow, you can't edit a post thats been replied to. That's a little lame
Anyway, here's a newer version with a few levels and a couple new updates to the system including a level drawing system that draws each individual piece of the level before starting
The game also now properly makes use of offscreenonly, no more flickering!
My next step is obviously more levels and adding a trail to the box you control using some arrays DONE
COMMENTS ON THIS ARE APPRECIATED!!
PLEASE get the font in my first post, as some game text won't display properly without it
Edit: I made some more updates to the game, including allowing you to run around the main screen
Platformer.rar
Description:
Newest version right now. !-------------------------------------------------------------------------! You still need the font in my first post for this to display correctly !-------------------------------------------------------------------------!
Posted: Thu Jun 19, 2008 10:34 am Post subject: RE:My Turing Platformer Game
pretty good.
A couple of things...
were you going for the blurred box effect?
for some reason you can't jump through the portal from directly underneath it.
Other than that, I think it was well laid out.
gitoxa
Posted: Thu Jun 19, 2008 12:38 pm Post subject: RE:My Turing Platformer Game
Is it just me, or is the file "batmfa__.zip" empty?
Game still works without it though, it's fairly good. I'd suggest maybe some more colour, there's a lot of white on screen.
And yes Sniperdude, he was going for the blurred box effect.
Warchamp7 wrote:
My next step is obviously more levels and adding a trail to the box you control using some arrays DONE
Insectoid
Posted: Thu Jun 19, 2008 1:14 pm Post subject: RE:My Turing Platformer Game
Gah! I can't download it! I'll have to download from FireFox after my mom is done checking her E-mails.
SNIPERDUDE
Posted: Thu Jun 19, 2008 2:05 pm Post subject: Re: RE:My Turing Platformer Game
gitoxa @ Thu Jun 19, 2008 12:38 pm wrote:
And yes Sniperdude, he was going for the blurred box effect.
my bad.
So the only other thing I had with it was jumping straight up into a portal
Sponsor Sponsor
Insectoid
Posted: Thu Jun 19, 2008 2:21 pm Post subject: RE:My Turing Platformer Game
Downloaded, played, and loved! Next step- Ending screen showing time and a high score list.
Warchamp7
Posted: Thu Jun 19, 2008 7:51 pm Post subject: Re: RE:My Turing Platformer Game
SNIPERDUDE @ Thu Jun 19, 2008 2:05 pm wrote:
gitoxa @ Thu Jun 19, 2008 12:38 pm wrote:
And yes Sniperdude, he was going for the blurred box effect.
my bad.
So the only other thing I had with it was jumping straight up into a portal
I don't understand what you mean. I can jump straight upwards into a portal, I even went through one end and then back through without moving left or right, works fine for me. Also, if that font file is empty, I'll put up a new one ><
Also, regarding the trails, do you guys like them or no?
Posted: Sat Jun 21, 2008 7:46 am Post subject: RE:My Turing Platformer Game
the trails are pretty cool, I just didn't know if it was your plan to. Maybe have an option screen where you can turn it off or on (and other stuff like music later) for those other players.
Anywho what I mean about the portals is on some maps when I stand directly under the portal and jump without moving left or right, it will teleport me back to where I was.
EDIT: Hmmm, I think I know what it is...
It seems to be the placement of the teleports (how high off the ground), I noticed on one of the levels that it is placed higher than the rest in the game and doesn't cause this problem.
Warchamp7
Posted: Mon Jul 07, 2008 4:18 pm Post subject: Re: RE:My Turing Platformer Game
SNIPERDUDE @ Sat Jun 21, 2008 7:46 am wrote:
the trails are pretty cool, I just didn't know if it was your plan to. Maybe have an option screen where you can turn it off or on (and other stuff like music later) for those other players.
Anywho what I mean about the portals is on some maps when I stand directly under the portal and jump without moving left or right, it will teleport me back to where I was.
EDIT: Hmmm, I think I know what it is...
It seems to be the placement of the teleports (how high off the ground), I noticed on one of the levels that it is placed higher than the rest in the game and doesn't cause this problem.
I added an option on the main screen to toggle the trails
Also, lemme clarify. You jump through the portal, teleport to the other portal and then get teleported back to the first one again?
The game has a 500 ms delay between going through a portal again, and I don't have this issue when I've tried to replicate the issue. The only thing I can think of is the system you're playing the game on is a little laggy
SNIPERDUDE
Posted: Tue Jul 08, 2008 12:18 pm Post subject: RE:My Turing Platformer Game
not laggy in the least.
Have you tried it on all levels?
Warchamp7
Posted: Tue Jul 08, 2008 1:49 pm Post subject: RE:My Turing Platformer Game
Yes, thoroughly. Any chance you could get a video of it happening?
SNIPERDUDE
Posted: Tue Jul 08, 2008 11:18 pm Post subject: RE:My Turing Platformer Game