Categories
Game Creation Mastering Development

Instantiating only 1 Prefab at a time with a counter in the Update Function

I have some struggle getting the timer run correctly and then instantiate ever by x seconds at a time. My problem with my script is that the Prefab instatiates like unlimited times and doesn’t stop after instantiating once. The second problem is that the _spawnTime isn’t equaling _resetTime so it could start over after it […]

Categories
Game Creation Mastering Development

Libgdx storing rendered frames quickly to use them later

I have implemented a gif-button for my libgdx game that allows the player to store the last few seconds of gameplay as a gif. It works by storing frames in memory, and encoding them into a gif if the player presses a Button. The problem is, that my method of storing the frames takes around […]

Categories
Game Creation Mastering Development

Scene management system for simple terraria-like game

I am building the engine for a terraria-like 2D sandbox game using SDL2. Currently, I am working on a scene management system. I was wondering if just having a single local variable in main called scene_num and some if statements in main to control the scene the player is currently on would suffice, especially as […]

Categories
Game Creation Mastering Development

Filter data in scriptable objects

I have imported data from a csv file into a scriptable object. The scriptable object is made up like this. using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = “Names”, menuName = “Project/Names”, order = 0)] public class names : ScriptableObject{ [System.Serializable] public class name { public string Name; public string Gender; public string Country; public […]

Categories
Game Creation Mastering Development

Grid base movement shader

I am currently working on a turn-based shooting game (X-Com Western Theme). I really like the shader effect used in X-com which highlights the edge of the movement zone. But I cannot think of an efficient way of doing it. Technically, I am using Unity 2018.1 for the development. All movement is handled by the […]

Categories
Ask Games Video Games

How to set-up ScummVM to use MP3 for The Secret of Monkey Island

I have loaded ScummVM to a Windows XP box, put the CD files in a directory, and the MP3 files in a folder called ‘resources’ under that directory. But when I play the game, it uses midi music instead of the MP3 files. How can I get the MP3 files to be used when playing […]

Categories
Game Creation Mastering Development

Grid base movement shader

I am currently working on a turn-based shooting game (X-Com Western Theme). I really like the shader effect used in X-com which highlights the edge of the movement zone. But I cannot think of an efficient way of doing it. Technically, I am using Unity 2018.1 for the development. All movement is handled by the […]

Categories
Ask Games RPG Games

Are the attack of a Wild Shaped druid considered weapon attacks?

Context My character is a druid 3 / ranger 2. I’m considering taking Hunter’s Mark as one of my ranger spells, but I’m not sure whether it would trigger while attacking in Wild Shape. The spell says: You choose a creature you can see within range and mystically mark it as your quarry. Until the […]

Categories
Ask Games Video Games

What are my chances of getting a shiny in my scenario?

I’ve been breeding a level 82 ditto (not shiny) that i caught myself with a male level 44 french (i heard somewher that the country the pokemon comes from if it was traded matters as well, its also not shiny) espurr that got traded to me. I’ve been trying to breed them for hours and […]

Categories
Ask Games Video Games

Check for solid block

I was wondering if there was a way, using command blocks, to check whether a block is solid (e.g. dirt, stone) and when it is transparent (e.g. ladder, sign, torch). I did some digging around online but I could not find anything. The reason that I ask is because I am making a custom item […]