Homebrew Veiwpoint

  • Thread starter Thread starter Deleted User
  • Start date Start date
  • Views Views 1,146
  • Replies Replies 2
D

Deleted User

Guest
I was wondering if it is possible to implement a viewpoint that follows the player around in a 2d game I was thinking if this is impossible I could make the background move around the player but I do not know if this is a logical idea thanks
 
It might be easier to make one topic rather than loads of little bitty ones with one question.

Cameras in games get quite involved if you want to go there
https://docs.google.com/document/d/1iNSQIyNpVGHeak6isbP6AHdHD50gs8MNXF1GCf08efg/pub?embedded=true

But yes you can tie it to a sprite, and similarly you could keep the sprite in place (or use one the aboves) and either move a background image/texture around (they can be higher resolution than the screen if you want them to) or move the internal state of the world and have it render, the latter being what most games you have ever seen (at least since scrolling backgrounds were invented anyway) will be doing most of the time where the former is usually reserved for visual effects and certain types of animations. Afraid I don't know the specifics for the dev kit you are using but it will probably be you passing a grid reference to a function, and possibly updating said grid reference depending upon button presses.
 
It might be easier to make one topic rather than loads of little bitty ones with one question.

Cameras in games get quite involved if you want to go there
https://docs.google.com/document/d/1iNSQIyNpVGHeak6isbP6AHdHD50gs8MNXF1GCf08efg/pub?embedded=true

But yes you can tie it to a sprite, and similarly you could keep the sprite in place (or use one the aboves) and either move a background image/texture around (they can be higher resolution than the screen if you want them to) or move the internal state of the world and have it render, the latter being what most games you have ever seen (at least since scrolling backgrounds were invented anyway) will be doing most of the time where the former is usually reserved for visual effects and certain types of animations. Afraid I don't know the specifics for the dev kit you are using but it will probably be you passing a grid reference to a function, and possibly updating said grid reference depending upon button presses.

Thanks I will try it and I will also make a single thread for my questions thanks
 

Site & Scene News

Popular threads in this forum