pandahell
pandahell
Panda Hell - Top down shooter game
32 posts
Don't wanna be here? Send us removal request.
pandahell · 3 months ago
Text
How to downgrade or disable Cursor auto-updates
Cursor is a great tool, but a lot of devs (me included) have experienced reliance problems with recent updates. In my case, the experience running Cursor 0.47.x is entirely different from running 0.45, and not in a good way. As additional problem, Cursor will auto-upgrade by default as soon as you launch the app, and the way to block this auto-upgrade is not clear. How to disable Cursor…
0 notes
pandahell · 3 years ago
Text
How to add music and sounds to an iOS or macOS game with AVFoundation
If you're running background music and then you trigger a sound the music will stop. Here's how to fix it and add music and sounds.
While working on adding music and sounds to my latest project I found a problem: If you’re running some background music and then you trigger a sound ( for example by picking up some item ) the music will stop, as you’re overriding the sound with the new object. In order to fix this we can use AVAudioSession in iOS: import AVFoundation let audioSession = AVAudioSession.sharedInstance() do…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Creating a game for iOS with Swift and SpriteKit
Creating a simple iOS game for iPhone with Swift and SpriteKit
After a few months learning Swift and UIKit, as well as playing with some of the iOS libraries it was finally time to get acquainted with SpriteKit, Apple’s framework for creating 2D games. I worked on an iteration of the classic Pong, as the core game loop is very basic, and wrote about it going through the different failures and blocks I faced during development. I work on this by creating…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
How to build WooCommerce iOS with an M1 MacBook (Apple Silicon chip)
How to build WooCommerce iOS with an M1 MacBook (Apple Silicon chip)
You can find the step by step instructions here: https://github.com/woocommerce/woocommerce-ios , however if you’re working on a new M1 MacBook with the Apple Silicon chip you’ll encounter a few problems very soon: Requires Ruby 2.6.4 , which is not supported by an M1 machine, neither running under Rosetta.Dependencies and libraries used by the WooCommerce app assume that x86 is the only…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Starting June 29th RoguelikeDev does the complete Roguelike Tutorial 2021
Starting June 29th RoguelikeDev does the complete Roguelike Tutorial 2021 #python #100daysofcode #roguelikedev #roguelike
/r/roguelikedev has been going strong for 5 years in a row doing the Complete Roguelike Tutorial. For 8 weeks we’ll be building a RogueLike game following the same tutorial, however everyone will do it their own way: Some folks stick to the step-by-step Python tutorial, while other reimagine it completely on a different language. After doing this game in C#/Unity, and Java for two years,…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
RSI analysis in Python: Technical implementation
RSI analysis in Python: Technical implementation - This Python script will pull all necessary data from a ticker and return its RSI, this way we can work directly with the data #trading #python #100daysofcode
The RSI or Relative Strength Index is one of the main momentum indicators I personally use when making decisions about an options or stock trade, not as a main indicator, but a good tool to confirm the current momentum of a stock. All tools I’ve found or used so far ( broker custom paid tools included ) gives this indicator visually, so you can check where the RSI is on a certain period or a…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
How to install Numpy and Pandas for data science in a M1 MacBook
How to install Numpy and Pandas for data science in a M1 MacBook
The new M1 chip MacBooks come with a nasty surprise for those of us who like to tinker with code, specially Python science packages. Failed to build Numpy Failed to build Pandas These 2 are pretty necessary in order to work with the Trading Tools I’m developing on this serie (Interactive Brokers API + Python), so it became necessary as well to test and explain how to install everything to make…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Building custom trading tools with Interactive Brokers and Python (I)
Building custom trading tools with Interactive Brokers and Python (I)
When investing or trading there’s a lot of research, analysis, and work going on behind every trade. Generally this is very time consuming and prone to error, and is very easy to miss a potential trade or entry point that you prepared in advance just because we were not ready that day, or something else came up that took your attention away. Even if you have all the alerts and indicators you’d…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
How to get Crypto prices using Google Finance and spreadsheets easy (Updated: 2021)
How to get Crypto prices using Google Finance and spreadsheets easy (Updated: 2021)
Last year I published a post explaining a way to get cryptocurrency prices like Bitcoin or Ethereum into Google Spreadsheets via Google Finance. Now Google Finance has updated their API and there’s a much simpler way to do it, as now is treated as a proper currency. In order to get cryptocurrency prices into Google Spreadsheets for Bitcoin, Ethereum, Litecoin, and Bitcoin cash, you can use the…
Tumblr media
View On WordPress
1 note · View note
pandahell · 4 years ago
Text
How to get insider trading data from the SEC database using Python
How to get insider trading data from the SEC database using Python
Company insiders are forced to report their buy/sell operations to the SEC through form-4, and this can give us clues about the business direction. While insider selling is not always a bad sign, insider buying generally is good as shows insider confidence in the company’s future. That said, is a waste of time to have to check the SEC website and the EDGAR database constantly (and manually) in…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Java Roguelike notes (5/13): How to create a Field Of View or Fog Of War
Java Roguelike notes (5/13): How to create a Field Of View or Fog Of War
Creating a FOV: The dungeon unwraps as we walk through 1) Editing the Class: Tile.java We add new isVisible and isDiscovered parameters to the Tile class, as well as initialize them within the constructor as false by default (once the game starts, no tiles are discovered or visible) import java.awt.*; import java.awt.geom.Point2D; public class Tile extends Rectangle { public Point2D…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Java Roguelike notes (4/13): How to add game collisions
Java Roguelike notes (4/13): How to add game collisions #roguelike #java #indiedev
I’m modifying the original move() method to add a collision check each time the player presses a button, this is reduced to: 1) Check collisions via .intersects() , as our custom class Tiles extends the Java Rectangle class, we can use this built-in method.2) If collisions return true, call backToPreviousPosition(direction)3) If backToPreviousPosition(direction) is called, return the player to…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Java Roguelike notes (3/13): How to place random items and enemies in our dungeon
Java Roguelike notes (3/13): How to place random items and enemies in our dungeon #roguelike #java #indiedev
The code for both methods (place items and place enemies) is very similar, but contains some differences: We create a reduced sublist from listOfFloorTilePositions , this is our list with all Floor Positions in our map, also works as our list of available positions to spawn something on top.Shuffle and randomize the sublist, then instantiate a new Tile at that positions, and modify each list…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Java Roguelike notes (2/13): Creating a procedurally generated dungeon
Java Roguelike notes (2/13): Creating a procedurally generated dungeon in Java in order to get a random level in each run.
The algorithm that creates a procedural map is based on my previous post and algorithm in C# , most of work was trying to adapt it to Java and had to take different approaches until I could finally translate it. The process goes as follows: We generate a basic Tile Board, where each point is a coordinate. Here comes the first difference, while in C# I was using Vector2, in Java I used…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Java Roguelike notes (1/13): Drawing the ‘@’ symbol and moving it around
Java Roguelike notes (1/13): Drawing the ‘@’ symbol and moving it around
Following the previous post, I’ll be sharing my notes while developing a Roguelike in Java. This is not a step by step tutorial, but just the code and some comments to clarify why I used something. This may change in future posts if the development requires it. First the final, graphical, result: Placing the player – Java Roguelike #1 Notes: Rogue.Java public class Rogue { public static void…
Tumblr media
View On WordPress
0 notes
pandahell · 4 years ago
Text
Getting out of the comfort zone: Starting with Java #0: Hello Rogue
Getting out of the comfort zone: Starting with Java #0: Hello Rogue
So I decided to give Java a go. Why? No real reason, it was the first language I tried many years ago and the first time I abandoned coding 😀 . Several reasons come to mind: This “coding thing” was just too abstract, at the moment my English was zero, and there was not as many resources as you can find today, it was just frustrating. Now, after many years of tinkering in other languages and…
Tumblr media
View On WordPress
0 notes
pandahell · 5 years ago
Text
How to create a slow motion effect in Unity and C#
How to create a slow motion effect in Unity and C#
I was following a Brackeys tutorial (credit where is due) in order to get back to speed with Unity after a long hiatus and he showed a kind of matrix-effect on game over that can be applied to multiple situations, so I decided to play with it and use it in my future (if any) games. This is how it looks like after a quick prototype re-using Longanizers concept art:
Tumblr media
Adding a slow motion effect…
View On WordPress
0 notes