1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
Everywhere
  • Everywhere
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Members
  3. Inside

Posts by Inside

  • Topless Pancakes.

    • Inside
    • September 8, 2006 at 11:15 PM

    I'm gonna guess that it means waking up early in the morning after a "busy night" and then having pancakes while still naked.

  • Trying to decide on a level format for my game.

    • Inside
    • September 8, 2006 at 9:40 PM

    Hey guys, I'm working on a ball game and I'm just wondering how I should represent my level format -- I don't want to really use any existing level formats because the engine I'm using Ogre3D probably doesn't have an importer for it and if I'm going to write a level importer, I might as well have my own level format that does everything I want how I want it.

    Basically, the game currently doesn't have a name (it was called "Rollout" prior, but I've cut ties with the people who suggested that name so I don't feel right using it), but it's a ball-controlling game ala Super Gerbil Ball/Marble Madness, and so on. I want to have a lot of moving platforms and similar so this is why I feel I need to have my own level format.

    You can see an older video here

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.
    . It's pretty old and the level is hard coded in so it's not much more than a concept demo. I'm in the process of rewriting code and so am in a decision stage.The static geometry for the level will be loaded from XML.

    Code

    You can choose whether the geometry being loaded in has a collision or not, I suppose this could be used to place some models away from the center of game play, for example on a large castle level there could be distant castle walls and spires that don't incure any additional cost for the physics simulation by being there.The dynamic moving objects are going to be defined in LUA -- I'm in the process of wrapping my classes and creating an interface for moving objects and so on and was wondering if something like this would be a bit too much for a mapping person to learn to do.

    Code
    module platform1{}
    
    
    
    
    platform1:onstartup()
    
    
       platform = createPlatform("platform1", 0,0,0, "SmallPlatform.mesh")
    
    
       platform:addPrimitive( MoveToPrimitive( 10,10,10) )
    
    
    end
    
    
    
    
    platform1:OnGameTick()
    
    
       platform = ObjectManager:GetObjet("platform1")
    
    
       if( platform:position() == position(10,10,10) )
    
    
          platform.addPrimitive( MoveToPrimitive( 0,0,0) )
    
    
       else if ( platform:position() == position(0,0,0) )
    
    
          platform.addPrimitive( MoveToPrimitive( 10,10,10 ) )
    
    
    end
    Display More

    Basically, that code will create a platform that'll move from point A(0,0,0) to point B(10,10,10) in a straight line. More statements can be added to move the platform to different locations and additional "primitives", as I'm calling them for now, can be specified such as rotating the platform.

    Also, using LUA I was figuring I could add in further hooks to allow things like the script taking control from a player for a small period of time to do something like rotate the camera around a certain point (on level load, perhaps) and then adding in triggers for game events ( if myBoundingBox:inside( game:getPlayerPosition ) ) ) or in a more ambitious move, do something like in Mario64 with the cannon that shoot the player ball around the map

    I was going to work on a level editor once I've added enough functionality to the game, but other than positioning static geometry, lighting, sky boxes, particle effects and so on, I can't really figure out how I'd integrate writing of scripts into the editor. Any ideas?

    Thanks for your time.

Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  2. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  3. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  4. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  5. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  6. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  7. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  8. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  9. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  10. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™