don't click here

General Project Screenshot/Video Thread

Discussion in 'Engineering & Reverse Engineering' started by Tweaker, Jun 26, 2008.

  1. RetroKoH

    RetroKoH

    Member
    1,662
    22
    18
    Project Sonic 8x16
    How does lua code compare with GML? (I feel like I just asked a dumb question)
    Would porting Triad to lua code be something to consider?
     
  2. Tribeam

    Tribeam

    I code Lua and Lua accessories Member
    80
    0
    6
    Never messed with GML. Best advice I can give is that all languages have their pros and cons

    Like for example:
    Some people hate that it doesn't use brackets, instead of
    function x() { ... }
    its
    function x() ... end
    or
    if x == 5 then ... end
    or
    for x = 1, 32 do ... end

    Some people also hate that it doesnt have += or ++
    C: x ++ or x += 2
    lua: x = x + 1 or x = x + 2

    But one good thing about lua is it's tables
    These things are insane once you figure them out

    Tables are containers that hold variables, but not in the way arrays do in other languages
    You can use tables as arrays
    example:
    Code (Text):
    1. local derp = { 10, 12, 13, 14 }  
    2. print(derp[1])
    3. > 10
    or you can add keywords:
    Code (Text):
    1. derp =
    2. {
    3.     x = 10,
    4.     y = 11,
    5. }
    6. print(derp.x)
    7. > 10
    8.  
    you can define keywords outside the table too
    Code (Text):
    1. derp = {}
    2. derp.x = 10
    3. derp.y = 11
    4. print(derp.x)
    5. > 10
    or add keywords with strings
    Code (Text):
    1. derp = {}
    2. derp["x"] = 10
    3. derp["y"] = 11
    4. print(derp["y"])
    5. > 11
    also add functions
    Code (Text):
    1. derp = {}
    2. function derp:helloworld() print ("Hello World")end
    3. derp:helloworld()
    4. > Hello World
    or tables within tables(infinitely)
    Code (Text):
    1. derp =
    2. {
    3.     derp2 =
    4.     {
    5.  
    6.         x = 0,
    7.         y = 10,
    8.  
    9.     },
    10. }
    11. print(derp.derp2.y)
    12. > 10
    And tables are lua's way of OOP.

    Everything shown here are interchangeable between each other, as an example this is from a table in my editor:
    Code (Text):
    1.  
    2. triproj.maps[trisphere.game][trisphere.lvl].layout[layouty][layoutx]
    3. triproj.maps[trisphere.game][trisphere.lvl].color1[1]
    4.  
    I'm gonna stop now before I go overboard on this lesson(which I think I already did :s)

    So if you "want" to explore other languages then go for it, but it's probably best to stick with what you know, than trying to recode something in a language you aren't familiar with
     
  3. Does this bring back the possibility of making an editor for the Blue Sphere (Sonic 1 Lock-On) game?
     
  4. neonsynth

    neonsynth

    Previously 'SonicVaan' Member
    394
    9
    18
    Germany, Stammbach
    gaming and music production
    Meh, I originally wanted to post it in its original thread, but no staff is around here at the moment to unlock it, so...

    Oh, and enable annotations, to know what's going on. And yes, it's the previously private entry of SHC2012, which I decided to release to the public.

    [youtube]http://www.youtube.com/watch?v=A1lrR1ndEns[/youtube]
     
  5. You know, SonicVann, if you were gonna continue on with your special stage project, I would help improve it by a whole lot -- even with the graphics.
     
  6. neonsynth

    neonsynth

    Previously 'SonicVaan' Member
    394
    9
    18
    Germany, Stammbach
    gaming and music production
    Disregard my post over at SSRG, I will get in touch with you here later. I need to fix some bugs regarding the main menu and the level-to-main menu transition. But thanks for your offer, it will be very helpful, as I'm not skilled with art...
     
  7. Don't worry much about art because I'll very much handle that. And I have some ideas and suggestions that I want to share with you [privately] as well. I could help make your hack really stand out, if you happen to try to agree my suggestions. I'd rather us have our discussions on Skype so that I can share files with you. I was attempting to start on a special stage hack but one of my associates was offline for the past month or so and I haven't heard from him since. But you know, if we happen to merge our ideas together, this hack will be huge success in the end--possibly a top candidate for the Hidden Palace Trophy for next year's contest. And also, I will do the layouts since I understand they need significant improvement.
     
  8. UtopiaUK

    UtopiaUK

    Member
    133
    0
    0
    Sonic 3 Resort Island
    When Sonic Went To India

    [​IMG]


    [​IMG]

    An Update for my Sonic 3 And Knuckles Hack. Full Topic coming soon.
     
  9. E-122-Psi

    E-122-Psi

    Member
    2,470
    612
    93
    Wow is that a whole new level design in S3+K? Has that been done yet?
     
  10. Knucklez

    Knucklez

    I love 2B 'n' ass. Member
    687
    21
    18
    Holy mother of god.
     
  11. Cinossu

    Cinossu

    Administrator
    2,832
    44
    28
    London, UK
    Sonic the Hedgehog Extended Edition
    Simply beautiful. Sandopolis as the base, I assume? The enemy and the heat haze are what are giving that off. I very much look forward to seeing what else you have done to this, and where you are going with it.
     
  12. Knucklez

    Knucklez

    I love 2B 'n' ass. Member
    687
    21
    18
    I didn't think two screenshots alone would drive me nuts, but they sure are. I'm really looking forward to it Utopia.
     
  13. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    [​IMG]
     
  14. RetroKoH

    RetroKoH

    Member
    1,662
    22
    18
    Project Sonic 8x16
    Please tell me this bears the ability to burrow into the ground or the walls. That would be sweet.
     
  15. steveswede

    steveswede

    Member
    5,032
    1
    16
    Ask my hand
    Fighting against the Unitary State of Europe
    I don't get it, what meant to be unique about it apart from the emerald looking icons at the bottom?
     
  16. Aerosol

    Aerosol

    Not here. Moderator
    11,163
    573
    93
    Not where I want to be.
    Sonic (?): Coming summer of 2055...?
    Emerald hunting, man.
     
  17. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Knuckles can't dig into walls in SA1.
     
  18. steveswede

    steveswede

    Member
    5,032
    1
    16
    Ask my hand
    Fighting against the Unitary State of Europe
    In normal stages?
     
  19. Fred

    Fred

    Taking a break Oldbie
    1,563
    117
    43
    Portugal
    Sonic 3 Unlocked
    So where are you picking the blue color for the radar from?
     
  20. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    There is no blue in the palette.