djsteffey

Members
  • Content count

    1378
  • Joined

  • Last visited

Community Reputation

1346 Excellent

1 Follower

About djsteffey

  • Rank
    Contributor

Personal Information

  • Interests
    DevOps
    Education
    Production
    Programming
  1. 2D Tiled SDL 2D Tilemap Glitch

    that may be the case, however, you are using some kind of camera somewhere that has floating points as its position. what framework are you using? SDL? SFML? ultimately underneath that framework is OpenGL. And you may be giving the tile positions in "ints" (although it is a float hence the xxx.00000), but the transform done by the camera the location on screen ends up being in floats with actual values past the decimal. I used SFML before in my life. Look into using a sf::VertexArray (or whatever it is called) to do a mass tilemap drawing. It is more efficient and will clean up those problems. If you are using SDL then someone else may be able to help you.
  2. How to learn the math necessary?

    this has always been a great resource for game dev math. it is a very long youtube playlist. each video on the order of 5 to 10 mins
  3. 2D Tiled SDL 2D Tilemap Glitch

    floating point precision. please post the code with the snippet where you do the actual drawing.
  4. name change?

    thanks. taken care of. any way to change the username used for login as well?
  5. Is it possible to have the username changed but attached to the same account? I have been a member since 2000 but wish to have my username (and display name if different) changed to reflect what I use on all other sites that I frequent. I know I could just create a new account, but I don't want to abandon this one from 2000.
  6. In agreement with MMK, you may want to rethink the title of your post. I clicked to take a look with the expectation that you were just looking for a small modification to an existing code base. That is not the case here.
  7. Leaderboards Without a server?

    I urge extreme caution against letting the client connect directly to the database. If you do then a modified client can connect to the database and issue *any* database command it wants, such as delete the whole thing. If you have a server, even a very cheap one, that the client connects to, it shields your data from the client. You could also do some kind of detection on the server when a client submits a score as well to ensure it makes sense. For example, in a racing game, if the client said it completed race #5 in 4 seconds, you know that is impossible and discard the score without recording it in the leaderboards. You have no such option if the client directly connects.
  8. Lucky 13 Just released my second Android game this morning. Lucky 13!!! Isn't 13 the luckiest of all the numbers? Give this game a try and find out!!! Give it a try and let me know what you think or ways to improve. This is a casual block matching game with mechanics simple enough for a beginner.This is a cerebral block matching game that will require strategy in order to complete.Play:- Touch a block with at least one neighbor of the same value and color- All connected blocks of the same value and color will collapse onto the clicked block- All other connected blocks will disappear and be replaced with random new blocks- The collapsed block will increase its value by one and color accordingly- If you can get to 13 then you win!!!Features:- Casual gameplay with quick mechanics for fast play- Four different board sizes to master- Soothing music- Slick graphics- Google Play Leaderboards- No internet connection required (only for Leaderboards and IAP if desired)- IAP only to remove Ads and unlock larger boards
  9. Ultimate Prepper - 2d mobile survival clicker game

    ok then. sounds good. I just *hate* games where there is some kind of competition (such as global leaderboards) where a non-payer has absolutely no chance. I do understand the need to monetize though so if a game lets a payer do something faster (maybe gain XP for an RPG or dress in a fancy costume in the game) then I am ok with that. Good luck to you with your game.
  10. Ultimate Prepper - 2d mobile survival clicker game

    do you have leaderboards? if so then this is very much in the category of pay to win and not even close to balanced that non-payers have a chance.
  11. daughter wants to learn coding

    I am a professional and certified Network Engineer for a large telecom in the US. I do limited programming at work but do a lot of hobby stuff on my own and consider myself very proficient. I also have a Bachelor's and Master's degree in Computer Science. My daughter (almost 10 years old) has expressed to me that she would like to learn to code. And that has me nerding out lol. I would like some feedback on what language would be good to start with. I am very proficient in C, C++, C#, Java, and Python so one of those would be best. I do not want to use just one of the visual editor WYSIWYG editor or anything like that for programming. Just an IDE and compiler/interpreter. I was thinking Java might be the one to go with. Any suggestions?
  12. First Game Published

    Just published my first game on the Google Play App Store!!! https://play.google.com/store/apps/details?id=djs.game.ball It's block smashing time....with a ball....Ball Smash Block!!!This isn't your average paddle and bouncing ball block destroyer.There is no paddle with slow bouncing balls here!!!Take aim with the launcher and destroy the blocks on the screen before they reach the bottom and end your game.After each turn, all the blocks advance one row and new blocks arrive from the top.Completed turns grant a greater number of balls to launch on the next turn.Get into the hundreds of balls on screen at once destroying the blocks with special effects.Features:- Casual gameplay with quick mechanics for fast play- Multiple block types with special abilities- Upgrade your abilities to devastating effect - Earn coins through playing for purchasing upgrades- Three different play speeds available- No internet connection required (only for Leaderboards and IAP)- Google Play Leaderboards
  13. you need to decide what the data in the packet means to your game.  the format of the packet.  you will want something like that first byte being an identifier for what kind of data follows.  then based on the byte you know what to do with the rest of the data in the packet.   i.e. the first byte is a 0 which means it is a chat message.  you then read out the next bytes that represent the message and then display that message on the screen. the first byte is a 1 which means it is a position update message.  you then read out the next bytes that represent an object id and position.  you then move the object with the id and set its position. the first byte is a 2 which means is a "fire ze missiles" message.  you then read out the next bytes that represent the id of the object that fired the missile, the start position of the missile, and the vector of its movement.  you then call your method to add a new missile to your game. etc....
  14. Where is this Hot Teacher Trend coming from?

    will be interesting to see what her sentencing is versus past male teachers who have done the same.... I mean equality right?  That should go for the punishment of a crime as well.
  15. I have been centrist/centre-left, Now I am going Right Wing

    do you lock the door to your house?  why? I would wager that almost every single person that comes to your house does NOT want to do you harm....but there is the possibility that someone will.  so you lock your door.  and when someone comes to your door you look out the peephole, or you open it to see who it is.  you vet them before you let them in your house.  if you don't know who they are or you *can't* vet them because there is no reliable information about the individual then you close the door and don't let them in.  why can't our country do the same? because it is "racist".  because it violates their constitutional rights? last I checked the US Constitution does not apply outside US territory to non-US citizens.  If it does that is news to me and someone should alert China, North Korea, Russia...and well the whole world that they all better start adhering to the US constitution. Now is this ethical?  I will say it is an ethical gray area. And if the US and other western Europeans would stop screwing in the affairs of those in the middle east then some of it would probably stop too.  I make no illusion that we don't stick our nose in everything.  But when s**t goes down, and genocides, mass atrocities, dictators/others mass killing of civilian populations...who does the world always ask to go in and help.  Then the rest of the world generally wants the US to intervene.  So they want our nose in it.  And when we don't (Syria...mostly but we do *some* covert stuff there) the world it like WTF.  Why aren't we putting an end to it (like the famous chemical weapons red line from Obama that didnt stick).  But of course, that then pisses off the ones doing the genocide/mass killings..... So you can't win that one when everyone wants you out of their business, except for when they want all your foreign aid money, except for when they want you to defend them, except for when they are being slaughtered. This is my last one in this thread.  I don't say I have all the right answers and it is important to listen to others point of view without just yelling names and labels.  Unfortunately, that is how the US works now.   And for the programming comparison above, I would elect new members on the board of the company that would change the policy that allows the removal of the offending library.  Then to make a policy that since the library continually caused us to crash, and the company we got it from refuses to fix it then we would accept no future libraries from them.  The ones we already have with that company we will just deal with until they expire.  Or I would change companies.....do they speak English in Iceland?