November 10, 2017 at 10:16 am #11616
We have some new assets for you! https://playniax.itch.io/clear-art-pack
The tilesets are interchangeable with the Playniax CrashTest Art Pack for easy reskinning!
Enjoy!November 23, 2017 at 7:30 am #11926
Here is a little preview of a new endless runner game template for Pyro coming soon.November 26, 2017 at 1:51 pm #11989December 5, 2017 at 7:16 am #12132
is there a place to download your powered by MonkeyX2 logo which is in Revengestar?December 5, 2017 at 7:35 am #12133
The powered by is just text but here are the logo’s
Attachments:December 5, 2017 at 7:50 am #12136
ah thought I saw a metallic one on the title screenDecember 7, 2017 at 2:39 pm #12189January 2, 2018 at 9:38 pm #12580
Richard BetsonParticipantJanuary 3, 2018 at 11:38 am #12595
Check!January 11, 2018 at 11:51 am #12813
I’ve started to play with pyro2 (pluging box2d+JsonRUBE Reader) but found some little things:
LayerEllipse and LayerRectangle have ints for their constructors which is bad for debugdrawing/zooming in the physics world. Floats would be better…
when you unzoom very far you get a memory access violation from the ExpandArray function. Visibly asking for an array too big for the reseved memory or something…
_zoom is VERY Small 6.7e-007 and the call to ExpandArray maxw=466096c -> maxh=349530 -> creating a HUGE array. Why does Pyro2 needs such array? Again for huge physics world this can be a problem. Isn’t such arrays taking lots of memory when unzooming?
It would be great if you where making a github repo of pyro2 so we can discuss and improve.January 16, 2018 at 12:13 pm #12890
Where can I find the source code of the demos?January 18, 2018 at 9:36 am #12917
Demos can be found here: http://www.playniax.com/download/?dir=Pyro%202
I think the the fields are floats but the constructor settings maybe not. Will see if I can change that.
Pyro has a mapping system to deal with large worlds. It uses arrays for this. The TileSize property ( default 2048 ) deals with this but no idea why you get that error. Could you send me the project?January 18, 2018 at 9:59 am #12920
Thanks for your answers!
Could you send me the project?
It’s with “pyro-scenegraph\bananas\b02_advanced\b03_zoom_rotate.monkey2”. Just unzoom for long enough and it will crash. It could be nice to have a minimum zoom factor to prevent this fatal crash for example. I implemented it on my side but more solid is more reliable..
I know it’s a bit strange to unzoom that far but with chipmunk physics it’s actually something that you might want to do sometimes (astro travel for example). So knowing how far we can go can be an important clue in the game design.
There’s someting else I would have to implement into pyro (Ithink) because I have no access to the camera’s private field _offset. It’s for a getMatrix (or get back transformed canvas) of the camera. I need this to implement box2d/chipmunk debugdraws more easily. Registering all the shapes as layer objects then clearing them is not comfortable at all. Actually the only private field I can’t get is the _offset one. Is _offset for layer.Multiplier offsets? For now it’s not a problem and I use the following camera extension to achieve this.
What about a Github repo?Monkey1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556Class Camera ExtensionMethod SetByCenterViewpoint(viewpoint:Vec2f,zoom:Float,rotation:Float,vResolution:Vec2f)RotationPoint=vResolution/2ZoomPoint=vResolution/2Location=viewpoint-(vResolution/2)Rotation=rotationZoom=zoomEndMethod GetTransform:AffineMat3f(mat:AffineMat3f=New AffineMat3f())' !!!!Don't know how I can acces this private variable from outside pyro-scenegraph.monkey2 !!!' Is the offset related to the layer's .Multiplier ?'_offset.x=width*_scale.x*.5-VirtualWidth*.5'_offset.y=height*_scale.y*.5-VirtualHeight*.5'mat=mat.Translate( -_offset )mat=mat.Scale( Scale )mat=mat.Translate( RotationPoint)mat=mat.Rotate( Rotation*EngineBehaviour.RotationMode )mat=mat.Translate( -RotationPoint )mat=mat.Translate( ZoomPoint )mat=mat.Scale( Zoom,Zoom )mat=mat.Translate( -ZoomPoint)mat=mat.Translate( -Location )Return matEndMethod TransformCanvas(cnv:Canvas)'_offset is missingcnv.Scale( Scale )cnv.Translate( RotationPoint)cnv.Rotate( Rotation*EngineBehaviour.RotationMode )cnv.Translate( -RotationPoint )cnv.Translate( ZoomPoint )cnv.Scale( Zoom,Zoom )cnv.Translate( -ZoomPoint)cnv.Translate( -Location )EndEndJanuary 20, 2018 at 3:02 am #13050
I plan to get back ( after some time off ) to some Pyro stuff starting monday so added this to my list.March 30, 2018 at 7:54 am #14180
You must be logged in to reply to this topic.