The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the newest Gaming News from
QJ.NET in your email each day?




Want to learn more about the team who brings you the QJ news?

Read about them now!

 


Page 1 of 2 1 2 LastLast
Results 1 to 30 of 45

[Release] PGELUA Platformer

This is a discussion on [Release] PGELUA Platformer within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; This is my latest project, a 2d side-scrolling platformer :). Its written in Lua for the PGE API. I've been ...

  
  1. #1
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Thumbs up [Release] PGELUA Platformer

    This is my latest project, a 2d side-scrolling platformer :). Its written in Lua for the PGE API. I've been working on this for over a month now, i would of got to this stage sooner but exams, coursework all that stuff gets in the way. The name of this hasn't been thought up yet, so if you have suggest/comments just post up :)
    This is a demo first level, The level itself is the first mario level in Mario for the NES.
    Features:
    - Destroyable blocks
    - Checkpoint System (Needs a little refining)
    - Scrolling
    - Jumping blocks
    - Moving Platforms (Needs a little refining)
    - Dying.
    - End level sequence (has a bug )
    - Full Collision
    - Enemies (at a early stage, currently only one )

    The bug: It doesn't dofile the win file & crashes the PSP. You will need to restart it. I think its a PGE issue.

    (UPDATED!) Download HERE!
    Last edited by dan369; 11-23-2008 at 11:14 AM.

  2. #2
    Developer and Tutor.
    Points: 8,736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Join Date
    Jul 2007
    Location
    Widnes, England
    Posts
    1,649
    QJ Pts
    8,736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Default

    not bad dan, not bad at all.
    ------ FaT3oYCG -----
    AKA Craig, call me what you want to It's your preference.
    My Website: http://www.modern-gamer.co.uk/

    Currently working on:
    (0) MediaGrab
    (0) PGE Gears Of War - On hold (Very large project).
    (0) PS???? -On Hold A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).

  3. #3
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by FaT3oYCG View Post
    not bad dan, not bad at all.
    Thanks Fat

  4. #4
    QJ Gamer Gold
    Points: 17,453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    everywhere
    Posts
    3,526
    QJ Pts
    17,453
    Level
    84
    Downloads
    1
    Uploads
    0

    Default

    screens would be nice...

    also...

    Quote Originally Posted by Dan369
    Enemies (at a early stage, currently only one )
    if your only able to add one, than your evidently going about doing enemies incorrectly, if their done correctly, their should be an limitless amount of enemies that can be placed, and should only be limited by speed issues...
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  5. #5
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    I Have one. I could have ten, twenty whatever amount of enemies. Things like enemies colliding with enemies, check to see that the enemie is on solid Ground etc.
    I forget to say about that, there are gaps in the floor. I haven't seen that in any other Lua coded platformer, screens coming ASAP

  6. #6
    QJ Gamer Gold
    Points: 17,453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    everywhere
    Posts
    3,526
    QJ Pts
    17,453
    Level
    84
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by dan369 View Post
    Things like enemies colliding with enemies, check to see that the enemie is on solid Ground etc.
    wait...wat?, u mean that you have the enemies already doing that, or need to do that?

    also, for an release you probably should have added at least several enemies to demonstrate that their dynamically handled, where's saying their's only one makes it sound like your statically doing the enemy.
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  7. #7
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    That's what i need to do.

  8. #8
    Developer and Tutor.
    Points: 8,736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Join Date
    Jul 2007
    Location
    Widnes, England
    Posts
    1,649
    QJ Pts
    8,736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Default

    enemie(s), wow good new word you should put a deffinition along with it so people know what that is.

    i mean you could have added an enemy to the game or maybe some enemies?

    yeah its looking pretty good, but it is not a release slicer it is a demo of what he has done. he is no fool he will add those things in, sometimes the code he does may not be the best but it really doesnt matter aslong as it works at the moment.
    Last edited by FaT3oYCG; 11-23-2008 at 12:18 PM. Reason: put brackets arround (s)
    ------ FaT3oYCG -----
    AKA Craig, call me what you want to It's your preference.
    My Website: http://www.modern-gamer.co.uk/

    Currently working on:
    (0) MediaGrab
    (0) PGE Gears Of War - On hold (Very large project).
    (0) PS???? -On Hold A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).

  9. #9
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Seeing as Slicer is right, i've updated the enemie code to make it a little bit better, There is 7 kill-able enemies, and i've also added the ground check to the enemies. Note: You will see Enemie 3's Y postition printed onto the screen, you should also see the enemie fall :)
    Updated version here

  10. #10
    QJ Gamer Gold
    Points: 17,453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    everywhere
    Posts
    3,526
    QJ Pts
    17,453
    Level
    84
    Downloads
    1
    Uploads
    0

    Default

    i know it's a demo FaT3oYCG, but the way it had sounded was that he was handling enemy's statically, rather than dynamically, which in a platformer(or any game for that matter) is a no no=-), but he's cleared up what he's doing, so no need to continue the discussion about enemy control
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  11. #11
    Developer and Tutor.
    Points: 8,736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Join Date
    Jul 2007
    Location
    Widnes, England
    Posts
    1,649
    QJ Pts
    8,736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by slicer4ever View Post
    i know it's a demo FaT3oYCG, but the way it had sounded was that he was handling enemy's statically, rather than dynamically, which in a platformer(or any game for that matter) is a no no=-), but he's cleared up what he's doing, so no need to continue the discussion about enemy control
    Yeah he still can't spell though. XD.

    EDIT:

    enemy = 1 foe
    enemy's = belongs to that foe
    enemies = more than one foe
    Last edited by FaT3oYCG; 11-23-2008 at 12:19 PM. Reason: added reason
    ------ FaT3oYCG -----
    AKA Craig, call me what you want to It's your preference.
    My Website: http://www.modern-gamer.co.uk/

    Currently working on:
    (0) MediaGrab
    (0) PGE Gears Of War - On hold (Very large project).
    (0) PS???? -On Hold A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).

  12. #12
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by FaT3oYCG View Post
    Yeah he still can't spell though. XD.

    EDIT:

    enemy = 1 foe
    enemy's = belongs to that foe
    enemies = more than one foe
    I'd like to blame that on the sony OSK (i'm on my ps3 whilst 'typing' all that)

  13. #13
    Developer and Tutor.
    Points: 8,736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Join Date
    Jul 2007
    Location
    Widnes, England
    Posts
    1,649
    QJ Pts
    8,736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by dan369 View Post
    I'd like to blame that on the sony OSK (i'm on my ps3 whilst 'typing' all that)
    why does that affect your spelling XD. whatever i'm just being picky.
    ------ FaT3oYCG -----
    AKA Craig, call me what you want to It's your preference.
    My Website: http://www.modern-gamer.co.uk/

    Currently working on:
    (0) MediaGrab
    (0) PGE Gears Of War - On hold (Very large project).
    (0) PS???? -On Hold A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).

  14. #14
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by FaT3oYCG View Post
    why does that affect your spelling XD. whatever i'm just being picky.
    Its annoying, REALLY annoying. Its slow to use, if your in a hurry. Put thats me making excuses

  15. #15
    Points: 2,787, Level: 32
    Level completed: 25%, Points required for next Level: 113
    Overall activity: 0%

    Join Date
    Mar 2008
    Posts
    20
    QJ Pts
    2,787
    Level
    32
    Downloads
    0
    Uploads
    0

    Default

    wow... totally not what i was expecting lol, it reminds me of, my old atari. :P

    anyway good work. :)

  16. #16
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by levone View Post
    wow... totally not what i was expecting lol, it reminds me of, my old atari. :P

    anyway good work. :)
    Thanks, if anybody is interested, i have my mate NICK^^ doing some gfx as we speak for me :), it shouldn't be to hard to inplant gfx at all.

  17. #17
    Banned from QJ for LIFE
    Points: 10,957, Level: 69
    Level completed: 27%, Points required for next Level: 293
    Overall activity: 0%

    Join Date
    Jul 2006
    Posts
    1,557
    QJ Pts
    10,957
    Level
    69
    Downloads
    0
    Uploads
    0

    Default

    Sounds like it's a good start Dan. I'll check it out when it gets a bit better yeah.

    Nice to see PGE being used though.

  18. #18
    QJ Gamer Green
    Points: 3,522, Level: 37
    Level completed: 15%, Points required for next Level: 128
    Overall activity: 0%

    Join Date
    May 2007
    Posts
    70
    QJ Pts
    3,522
    Level
    37
    Downloads
    0
    Uploads
    0

    Default

    Please, please tell me you're using a tile-map. I looked through the script, and as far as I can see, there's no tile-map being drawn. You will not be able to make a platformer without a tile-map, it's just not possible. You can't have that many things going on at once. As for the enemies that slicer4ever was explaining about. You'll need a function to draw a certain amount of enemies at a specific tile. I'll go more in depth if you're interested. Same goes for the tile-map. I just finished making a decent Tile-Engine, so I'm pretty sure I could help there.
    [url="http://www.safarial.homebrewheaven.net"]Blog[/url]

  19. #19
    QJ Gamer Silver
    Points: 10,263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,326
    QJ Pts
    10,263
    Level
    67
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by SafariAl View Post
    You will not be able to make a platformer without a tile-map, it's just not possible.
    Why? It is perfectly possible to create a (2D) platformer without a tilemap.

  20. #20
    QJ Gamer Green
    Points: 3,522, Level: 37
    Level completed: 15%, Points required for next Level: 128
    Overall activity: 0%

    Join Date
    May 2007
    Posts
    70
    QJ Pts
    3,522
    Level
    37
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by yaustar View Post
    Why? It is perfectly possible to create a (2D) platformer without a tilemap.
    True, it's possible (caught me on that one :o ), just really not that efficient or smart.
    [url="http://www.safarial.homebrewheaven.net"]Blog[/url]

  21. #21
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by SafariAl View Post
    True, it's possible (caught me on that one :o ), just really not that efficient or smart.
    I just don't really like Tile Maps. It may be a little bit more efficient but it really wouldn't make any massive speed difference. On another note i killed that end level bug which is good :)

  22. #22
    Points: 2,787, Level: 32
    Level completed: 25%, Points required for next Level: 113
    Overall activity: 0%

    Join Date
    Mar 2008
    Posts
    20
    QJ Pts
    2,787
    Level
    32
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by dan369 View Post
    I just don't really like Tile Maps. It may be a little bit more efficient but it really wouldn't make any massive speed difference. On another note i killed that end level bug which is good :)
    cool, what was the problem? just curious.

  23. #23
    Banned from QJ for LIFE
    Points: 10,957, Level: 69
    Level completed: 27%, Points required for next Level: 293
    Overall activity: 0%

    Join Date
    Jul 2006
    Posts
    1,557
    QJ Pts
    10,957
    Level
    69
    Downloads
    0
    Uploads
    0

    Default

    So now you just need to;

    - Moving Platforms (Needs a little refining)
    - Checkpoint System (Needs a little refining)

    And then more levels and enemies and you have a real release?

    P.s Screenies? I want to know if it looks nice..

  24. #24
    Developer and Tutor.
    Points: 8,736, Level: 62
    Level completed: 96%, Points required for next Level: 14
    Overall activity: 0%

    Join Date
    Jul 2007
    Location
    Widnes, England
    Posts
    1,649
    QJ Pts
    8,736
    Level
    62
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Default

    XD its blue destroyable blocks green floor the player and block you stand on are red if i remember from what i tested, there are no gfx atm. but he is getting some done, this was just to show what he has done already.
    ------ FaT3oYCG -----
    AKA Craig, call me what you want to It's your preference.
    My Website: http://www.modern-gamer.co.uk/

    Currently working on:
    (0) MediaGrab
    (0) PGE Gears Of War - On hold (Very large project).
    (0) PS???? -On Hold A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).

  25. #25
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by FaT3oYCG View Post
    XD its blue destroyable blocks green floor the player and block you stand on are red if i remember from what i tested, there are no gfx atm. but he is getting some done, this was just to show what he has done already.
    Thanks for answering Fat, as for the bug, i was using dofile which is prone to memory leaks, i reverted to using loadfile instead.

  26. #26
    QJ Gamer Green
    Points: 3,522, Level: 37
    Level completed: 15%, Points required for next Level: 128
    Overall activity: 0%

    Join Date
    May 2007
    Posts
    70
    QJ Pts
    3,522
    Level
    37
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by dan369 View Post
    I just don't really like Tile Maps. It may be a little bit more efficient but it really wouldn't make any massive speed difference. On another note i killed that end level bug which is good :)
    You will run into some issues both productivity and speed wise if you draw the tiles manually. Usually, it's best to use a tile map, mostly because it provides for easy map making. If you'd like, I could probably help (if I get the time) you understand how tile maps work. I just helped one person, and he seems to be getting along fine.
    [url="http://www.safarial.homebrewheaven.net"]Blog[/url]

  27. #27
    Banned from QJ for LIFE
    Points: 10,957, Level: 69
    Level completed: 27%, Points required for next Level: 293
    Overall activity: 0%

    Join Date
    Jul 2006
    Posts
    1,557
    QJ Pts
    10,957
    Level
    69
    Downloads
    0
    Uploads
    0

    Default

    Lol fine. Didn't know there was no gfx at all.

    Next major step = get some gfx then. :)

  28. #28
    Lua guy
    Points: 10,655, Level: 68
    Level completed: 52%, Points required for next Level: 195
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Wales, cardiff
    Posts
    1,442
    QJ Pts
    10,655
    Level
    68
    My Mood
    Blah
    Downloads
    0
    Uploads
    0

    Default

    well, i'll think i'll pass for now on your offer Safari. Maybe if later on, i run into speed issues but with PGE having modular support(allowing me to pick the things i want e.g ad-hoc functions etc. ) i think by PGE 0.03 this will run even faster, right now i'm doing a code clean-up.

  29. #29
    QJ Gamer Blue
    Points: 4,268, Level: 41
    Level completed: 59%, Points required for next Level: 82
    Overall activity: 0%

    Join Date
    Apr 2008
    Posts
    497
    QJ Pts
    4,268
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    looks nice Dan, keep up the good work :)

  30. #30
    QJ Gamer Bronze
    Points: 5,381, Level: 47
    Level completed: 16%, Points required for next Level: 169
    Overall activity: 0%

    Join Date
    Jul 2006
    Posts
    550
    QJ Pts
    5,381
    Level
    47
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by dan369 View Post
    well, i'll think i'll pass for now on your offer Safari. Maybe if later on, i run into speed issues but with PGE having modular support(allowing me to pick the things i want e.g ad-hoc functions etc. ) i think by PGE 0.03 this will run even faster, right now i'm doing a code clean-up.
    If you are having speed issues with a game consisting of entirely rectangles, you are doing something seriously wrong.


    Also, get into the habit of looping through an array with
    Code:
    for i, object in ipairs(objects) do
    instead of
    Code:
    for i=1, table.getn(objects) do
    Furthermore, table.getn(objects) is deprecated, you should be using the # operator.


 
Page 1 of 2 1 2 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





All times are GMT -8. The time now is 12:40 AM.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2013, Caputo Media, LLC. All Rights Reserved. Cluster C3.
Contact Us | Free Flash Games | Ad Blockers Suck! Why?