Results 1 to 10 of 11

Thread: g2mp cross platform pascal engine

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I think there is nothing wrong with focusing on 3d, but the reason I started with 2d tools is because I wanted to workout all the UI controls while doing something simple. later I am also planning to work on 3d stuff, so in some way you are actually ahead of me and of course I also still have lots of bugs to iron out so it's not all rainbows and unicorns, yet .

    the parallax scrolling is very easy to achieve. all you need to do to create a background that seems infinitely far away is set the position of that entity to the position of the display (the scene to screen transformation manager). if you want to make a layer seem a bit closer then you just need to set its position to something like dipsplay.position * 0.9 and you will have a parallax effect.

  2. #2
    Actually the parallax scrolling is achieved by simply combining two or more layers where background layer is moving at a lower speed than the foreground layers.
    And you can get even better impression by simply increasing the number of background layers. And by controlling their moving speed you can change the impression of how far away from the camera they are.

  3. #3
    hi everyone, I am back with another video of building for android in g2mp toolkit. this is a very experimental feature at the moment. the testing device in the video is an ARM android emulator so the performance is slightly below excellent
    https://youtu.be/PXHwAIJ8WQk

Tags for this Thread

Bookmarks

Posting Permissions

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