Remove Scripting Remove Sprite Remove Tile
article thumbnail

How to change the offset of a Tiled Sprite

Cocos

Hi, i want to apply a sprite as a tiled background and apply to it an animation like a movement. I don’t want to make a script that calculate position and if at certain value must to set the start position. I want to give this effect changing the “offset” of the texture/sprite of it. This Node has a sprite set as Tiled

Tile 40
article thumbnail

2D gaming performance

Cocos

As soon as the script detects that a black screen will appear soon, the script generates ground. Then I generate nodes (sprites) from this array and add them to the playing field. Then I generate nodes (sprites) from this array and add them to the playing field. I encountered a performance problem.

Sprite 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

D20 RPG – Board

The Liquid Fire

A lot of people asked about making 2D maps and how to use different types of tiles like water vs dirt. For this lesson I created a couple of simple images to use for tile maps. This asset will be sort of abstract data, and can be “skinned” with specific tiles at a later point. They are available in this package here.

Tile 52
article thumbnail

D20 RPG – Pathfinding

The Liquid Fire

In that project, we had some unique challenges thanks to a non-square board where tiles were optional. In addition we had to consider tile heights – and whether or not a unit could jump as high as needed. In contrast, the pathfinding in this lesson will be for a 2D square board with no missing tiles.

Tile 52
article thumbnail

D20 RPG – Combatants

The Liquid Fire

We will add animated sprites to represent both a hero and monster. We will also provide a tile based room for them to fight in. It includes a collection of prefabs, scripts and sprites that we can use to play with. New Sprites There are three new sprites included.

article thumbnail

Programming Neo6502 in C/C++ Using CC65

Retro Game Coders

Especially helpful was the build script to show how to compile and launch the emulator with your new binary! Compiling Your C Program Building (sorry) on Paul’s shell script, I created build.sh Full bitmap graphics, with tiles and sprites is also available. Write a whole different game? What do you think?

Writing 116
article thumbnail

Godot Tactics RPG – 01. Intro & Setup

The Liquid Fire

From there I used Sphere, an open source 2d Engine that scripted in javascript. To create a folder right-click inside the FileSystem pane and select New Folder and add these folders addons Materials Prefabs Data Scenes Scripts Settings Textures We’ll add a few more folders inside these as we continue the project.