article thumbnail

2D gaming performance

Cocos

As soon as the script detects that a black screen will appear soon, the script generates ground. For now, I settled on the ground generation approach (piece of ground->bridge->piece of ground) At first I wanted to attach the code, but I think it would be better to try to explain the meaning of the generation.

Sprite 52
article thumbnail

Best Coding Tools for High School Students

Real Programming

Programmers use coding tools to help them debug, test, and create software. Let’s look at a few of the best coding tools for high school students to see how RP4K’s older pupils get a leg up. Vim is a developer-focused text editor compatible with most programming languages that help with key binding customization and coding efficiency.

Code 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

Physics: Tween no effect on Collider?

Cocos

Every tile (dark brown) in the background is a sensor, sensing the diamond type whenever a diamond “touches” the tile’s collider. So each diamond is sitting above another stone until the diamond below stops existing, in which case every diamond above is falling down to a hidden ground below the bottom tiles. Nothing special.

Tile 52
article thumbnail

Godot Tactics RPG – 03. Input & Camera

The Liquid Fire

The other is that the Axis components in the input manager are split up as one Axis each for positive and negative, and when we check the axis in code, we call a function with the two as parameters. Next we need to create a new folder under Scripts. This script will be pretty simple. save_game.store_8(tiles[key].height)

Tile 59
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. link] [link] [link] [link] [link] Prerequisites Some knowledge of code is definitely going to help here. I’ll be writing most code in Godot’s Gdscript, so familiarity with that or Python will help. A couple quick notes.

article thumbnail

Top Emerging Free Game Development Tools and Trends!

Big Games

Think AI that helps you build landscapes, real-time 3D sculpting like magic, and coding made accessible even for total newbies. Grab your controller because this blog is your cheat code for building the next gaming masterpiece – for free! Forget hefty price tags and complex coding. But that’s not all! Let’s jump in!

article thumbnail

Godot Tactics RPG – 02. Board Generator

The Liquid Fire

We’ll create everything we need to build our tiles and generate a board or two. Gdscript Before we get into any code, we need to take a quick look at some syntax. Now for the unfortunate news, code display on the web isn’t always straight forward. Tile Script We’ll create two folders here.

Tile 52