Real low resolution

  • Hi,
    I'd like to make a game with the classic low resolution, let's say 320x240: the objects must move on the low resolution grid, so they need to snap constantly to integer coordinates corresponding to the grid pixels. How do I achieve this?
    If i set the resolution to 320x240 and set fullscreen the objects will move fluently and not jumping from an integer coordinate to the next one: how do I round the coordinates without interfering with the object velocity/acceleration/position? Do I need to use an invisible reference object for movement and bounding box and apply an image on it that will be updated on integer coordinates?


  • There is a demo on the website that possibly demonstrates the behaviour you are looking for. Hope it helps

Log in to reply

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.