Comments (8)
It was just a reminder :P
from 2dadventure.
Will do. As I said the project is still in progress, in its pre-alpha-unreleased-ever-ever version... I still have a lot to do. I will rename everything once I'll add the other forms and classes for the project.
from 2dadventure.
I would suggest to add to these: https://github.com/soryncrash13/2dAdventure/blob/master/src/Game.cs#L26-L29
the private keyword to make it more clear eg: In Java they would have been public by default.
Also you might want to make these: https://github.com/soryncrash13/2dAdventure/blob/master/src/Game.cs#L28-L29
"float" instead of "int" to have more precision over your "physics" system.
from 2dadventure.
I'm gonna make those variables float, and those are by default private so there's no need to add the keyword, but I'll add it for more clarity. I'm still working with the collisions. They work just fine, but I want to use some other "mechanics" to say so for them. I think I'm gonna change the collisions today.
from 2dadventure.
You might want to add: velocity, friction, dynamic and static objects and if you feel fancy about it kinematic objects are welcomed too :)
I can provide you some code but in Lua if you feel interested.
from 2dadventure.
I'd like that, yeah 😃 . I'll more things but firstly I have to make the movements, jump and the collisions more acurate. Well I made them today. I just have to put each one of them into a method in the main.cs so I can just call them in every form. I think I'm gonna update the code tonight. I'll call you when I do this. 💃 😆
from 2dadventure.
https://github.com/soryncrash13/2dAdventure/blob/master/src/Game.cs#L81 - Better use ArrayList because you want to be able to dynamically allocate memory for each bullet.
Also if I were you I'd start to move some code from Game.cs.
from 2dadventure.
I'll move the code and make it cleaner, but first, as I told you I just want to finish all the assets for the game. Also I have to make the animations for the enemy too...hate that, but you gotta do what you've gotta do.
from 2dadventure.
Related Issues (2)
- asdas HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2dadventure.