spacefoki.blogg.se

Gideros get logical dimensions
Gideros get logical dimensions





  1. #Gideros get logical dimensions how to
  2. #Gideros get logical dimensions full
  3. #Gideros get logical dimensions code

So if you are developing only for one specific resolution, you can use Device dimensions, otherwise it is suggested to use Logical dimensions with the scale mode you find suitable. They basically will be scaled based on the scale mode you choose. No matter what resolution you have, the logical dimensions will always be the same. Meaning on an iPhone 3GS it will return width as 320īut logical dimensions are exactly what you set in your project properties. Thanks for a book that finally delivered what I wanted.You should use W = application:getContentWidth(), H = application:getContentHeight() which would return logical dimensions that are used when in scaling mode.īasically it all brings down to these points:ġ) Choose the scaling mode that is proper for your game (Letterbox being most popular)Ģ) Choose logical dimensions for your game and create all the graphics for logical dimensions you set in the project properties (recommended 480x800 or 640x960)ģ) Create backgrounds a little more bigger than logical dimensions to cover whitespaces on devices with different ratiosĤ) Use absolute positioning ( ) for objects that need to stick to sides of the screen as on screen buttons for exampleĥ) (Optionally) prepare bigger graphics in in some fixed ratio coefficient and use Automatic Image Resoltuion feature to automatically load them for bigger devicesĪddition: (Difference between device and logical dimensions)ĭevice dimensions is exactly what device has. I wish all game programming books took this approach. This book has actually delivered what I wanted. I was left with more questions than answers in almost all cases. The books are not very comprehensive and create simple games that do not delve into the deeper aspects of the game engine. I must say that about halfway through most, my interest in them has faded. I have been on the lookout for a game engine and book to help me in my pursuits. I have been playing around with different programming languages and game engines for the last 5 years. Something I have not experienced yet in any book I have bought on game programming.

#Gideros get logical dimensions code

Despite being written about 7 years ago, the code actually goes off without a hiccup. However it will give you so much confidence that you can advance in the language (Lua) and game engine (Gideros) that you will feel emboldened to go on and create your own games.Īnd most notably, all the code works fine. This book is an introduction book, not a complete desktop reference. If you have an idea for a multi platform game and are frustrated in finding a 2d Engine and book to help you fulfill your dreams, you have found the book. It will give you the foundational knowledge you need to feel confidant about seeking out what more you can make Gideros Mobile do. It answers a lot of questions about implementing classes and OOP logic in Gideros Mobile that I thought would go unanswered. Bu this book really made it not only easy to understand, but really enjoyable. What may have took me six to eight weeks to stumble upon through frantic Google searches and half baked You Tube videos, this book gave me in about two days! Gideros is a game engine that requires a lot of coding and planning. By the third day of reading, taking notes and coding, I felt WAY more comfortable programming with Lua in Gideros Mobile. This book does not waste time and gets right to the point. In February 2013, the Gideros team offered him the position in the Gideros developers' team, where he has been working since then, while continuing to work on games in his spare time.

gideros get logical dimensions

Due to popularity of his tutorials and the support he provided on the Gideros community forum, he became the most active community member.

#Gideros get logical dimensions how to

As there was a lack of learning materials and tutorials for Gideros and writing was one of the his favorite hobbies, he started creating different tutorials on how to accomplish simple things in Gideros. We have set up our Gideros project just the way we need, using all the needed features from automatic scaling and proper logical dimensions to setting up. They released Mashballs (), their fi rst game, in September 2012 and are currently working on a couple of bigger game projects.

gideros get logical dimensions gideros get logical dimensions

In the summer of 2012, he founded a group of like-minded developers/designers who go under the indie label (). After trying out lots of different cross-platform frameworks for mobile game development, he found Gideros SDK in January 2012 and liked it so much that he decided to stick with it when developing his games. In his last years at the university, he started chasing the dream of creating his own mobile games for fun and personal satisfaction in his spare time.

#Gideros get logical dimensions full

He has a Master's degree in Computer Science and even though he is working as a developer full time, he still loves coding and shares his knowledge with others in his spare time. Arturs Sosins is a developer living with his wife Anna and son Tomass.







Gideros get logical dimensions