Search found 15 matches

by ijffdrie
Sat Jul 18, 2020 6:15 am
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 14
Views: 1400

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

...Phew, that was a lot. I hope you don't see all these suggestions as an insult, I just figured they would be fun things to consider (or dismiss :lol: ). No insult taken. I absolutely love getting suggestions, and the ones you offered are great. Zooming and scrolling across the map (without moving...
by ijffdrie
Wed Jul 01, 2020 3:58 am
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 14
Views: 1400

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

Spacebar was picked as the interaction key.

Though now that I say that, I should probably make that configurable.
by ijffdrie
Sun Jun 28, 2020 6:00 pm
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 14
Views: 1400

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

Version 0.7.5 is now released, finishing full support for sprite collection objects (objects on the map that can change position, play animations and follow movement routes. Useful for things like NPCs). The documentation post (see two posts above) has been updated to include the documentation for t...
by ijffdrie
Sat Jun 06, 2020 7:08 am
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 14
Views: 1400

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

I released version 0.6. This version adds conditional tiles and objects to the engine, as well as using a much better system for calculating the movement rules and retrieving the events for a given coordinate. I've updated the documentation in the post above this one. Edit one day later: Already on ...
by ijffdrie
Tue Jun 02, 2020 5:20 pm
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 14
Views: 1400

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

Was busy for a few days, now back in action to write updates. However, before I get started on that, I should probably actually write down some documentation. Documentation In order for the Pink Engine to properly read Tiled tilesets and maps of your design, it makes use of a number of custom proper...
by ijffdrie
Wed May 20, 2020 11:37 am
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 14
Views: 1400

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

I've experienced some error in the movement buffer, I think is due how the first touch just change facing. Sometime the player move two squares in vertical movement. I have been doing some rejiggering of the way that movement is done, which I think should fix the issues with the movement buffer (as...
by ijffdrie
Tue May 19, 2020 3:02 pm
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 14
Views: 1400

Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

Hey everyone! Here is something I have been working on for the past few weeks: The Pink Engine . It is an open-source framework for using Tiled -created orthogonal maps in Ren'py. Those are top-down maps that use reusable tilesets to create levels. Think of older Pokemon games, or any game made in R...
by ijffdrie
Fri Apr 17, 2020 11:32 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

Re: Problem: Viewport is changing my adjustments range

I presume you have checked all your positional math? The values you pass into the change() methods are correct and are integers? Try changing the function to use hard values as a test... vp.xadjustment.change(600) Indeed I did such testing. For brevity's sake, I cut all the print statements from th...
by ijffdrie
Thu Apr 16, 2020 3:10 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

Re: Problem: Viewport is changing my adjustments range

Outcome doesn't change depending on having a side instead of a fixed. I also tried it with the section that places the map tiles commented out, to no effect.
by ijffdrie
Thu Apr 16, 2020 2:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

Re: Problem: Viewport is changing my adjustments range

Already tried to see if the problem was with that section. The issue remained even when I commented it out entirely, leaving only the player_sprite in the frame. edit: I've now also tried leaving out the player_sprite but leaving the background (and making that draggable, rather than having the play...
by ijffdrie
Thu Apr 16, 2020 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

Re: Problem: Viewport is changing my adjustments range

class Camera: def center_on_location(self, player_x, player_y): max_x = rpg_current_map.image_size.x - config.screen_width + 8 centered_x = player_x - (config.screen_width / 2) + (rpg_current_map.tile_size.x / 2) final_x = max(min(max_x, centered_x), 0) x = final_x max_y = (rpg_current_map.image_si...
by ijffdrie
Wed Apr 15, 2020 12:58 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

Re: Problem: Viewport is changing my adjustments range

I tried adding the "side" statement and a couple of different options for areas, but it still doesn't seem to be working without the scrollbars. Current code is screen rpg_map(map): side "c": area (0, 0, config.screen_width, config.screen_height) viewport id "map_viewport": xadjustment camera_x yadj...
by ijffdrie
Mon Apr 13, 2020 6:02 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

Re: Problem: Viewport is changing my adjustments range

Alex wrote:
Mon Apr 13, 2020 5:55 pm
Try not to set value and range for adjustment - let the viewport do it

Code: Select all

$ camera_x = ui.adjustment()
Results are identical. No movement without scrollbars "both"
by ijffdrie
Mon Apr 13, 2020 5:33 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

Re: Problem: Viewport is changing my adjustments range

Try to add 'draggable' property for the viewport, and just a simple variables to store viewport's adjustments - https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=58441#p526802 Implemented the suggested changes, but the behavior is unchanged; without bars, the viewport's adjustments ranges chang...
by ijffdrie
Mon Apr 13, 2020 3:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 527

[SOLVED] Viewport is changing my adjustments range

Good day, everyone. I've been working on creating a setup that takes maps and tilesets defined in Tiled, and portrays them as navigable maps in a 3/4 perspective in Ren'py. The player character is portrayed as a sprite on the map, and is controlled by the keyboard, with the camera following the play...