UnbrokenMotion

Member
  • Content count

    673
  • Joined

  • Last visited

Reputation

  • check
    Agree 20
  • info_outline
    Informative 3
  • tag_faces
    Funny 7
  • thumb_up
    Thumbs Up 22
  • thumb_up
    Likes (Old) 111

Awards


This user doesn't have any awards

6 Followers

About UnbrokenMotion

  • Title
    Hobbyist Game Dev/Pc Enthusiast
  • Birthday 1998-08-09

System

  • CPU
    AMD A8-7600
  • Motherboard
    Asus A68HM-E Micro ATX board
  • RAM
    Klevv Fit 4GBx2 DDR3 1600Mhz memory kit
  • GPU
    Zotac GTX 1050
  • Case
    Custom case
  • Storage
    1TB WD RE3 Enterprise HDD, Asus 128GB SSD
  • PSU
    EVGA 400 Watt ATX Powersupply
  • Display(s)
    Asus Monitor
  • Cooling
    1x 120mm fan, 1x 100mm exaust fan
  • Keyboard
    PS/2 Beige "Clicky" keyboard
  • Mouse
    Logitec 4-button mouse
  • Sound
    Onboard Realtek chipset.
  • Operating System
    Windows 10 Technical Preview
  • PCPartPicker URL

Profile Information

  • Gender
    Male
  • Location
    Mars
  • Interests
    I enjoying doing various things like gaming, programming, and graphic design. I'm also an enthusiast when it comes to building computers. However my financial situation prevents me from building them more often.
  • Occupation
    Student/intern

Contact Methods

  • Steam
    Diamondstone

Recent Profile Visitors

1,699 profile views
  1. Learning to code is easy, but learning to problem solve at the necessary level for the problems you want to solve is what will be difficult. People say coding is hard to learn but when people say this they're grouping coding language and problem solving together like these are the same thing. Coding is the act of writing instructions that a computer can understand But problem solving is needed to figure out what those instructions need to be in the first place. Once you're good at problem solving in coding you can apply those skills to a vast majority of other tasks. As for where to learn, I would recommend checking out codecademy, they have courses on Python, JavaScript and even Ruby I believe. here is a link: https://www.codecademy.com/ Also, math can be involved in coding, but that depends on what you're doing with that code. Also, as for reading code and knowing what it means, you don't simply just understand it, even if you're seasoned programmer, especially for complex code. You have to have an understanding of the code in order know what it's task is and how it performs that task. You can read other people's code but usually it has to be well commented at the very least in order to understand even a shred of any of it. Additionally, having programming notes from the author of the program or script helps as well if you want to read code that isn't yours.
  2. Hello, So, I've been toying with some code in Snap! (An awesome Scratch mod that allows you to code directly in JS) trying to create a tileset generator for a game I'm working on, however the issue I'm having is that tiles are not rotating as intended. The math for my calculations appears correct however rotation is not occurring as intended. rot refers to the rotation around the viewpoint in degrees. this.tWidth refers to the width of a tile rotated by an angle. this.tHeight refers to the height of a tile rotated by an angle. // Ensure we're not drawing. this.up(); // Dimensions of our tilemap. wide = 2; high = 2; //convert our angle in degrees to radians. ang = (rot) * (3.1415 / 180); // Lists containing all valid points along the X and Y axis. cX = []; cY = []; // Generate list of all valid locations along the X axis. clock = 0; while (clock < wide) { cX.push((Math.sin(ang) * (this.tWidth[rot] * clock)) - (Math.cos(ang) * (this.tHeight[rot] * clock))); clock = clock + 1; }; // Generate list of all valid locations along the Y axis. clock = 0; while (clock < high) { cY.push((Math.cos(ang) * (this.tWidth[rot] * clock)) + (Math.sin(ang) * (this.tHeight[rot] * clock))); clock = clock + 1; }; //Draw the grid, rotated by X amount of degrees. rendX = 0; while (rendX < cX.length) { rendY = 0; while (rendY < cY.length) { this.gotoXY(cX[rendX], cY[rendY]); this.doStamp(); rendY = rendY + 1; }; rendX = rendX + 1; } If anyone can spot what's wrong with my math here, it would be very much appreciated.
  3. I've been working on some code to render an isometric tilemap with the capability of rotating the camera 360 degrees. I can render 1 row of tiles, but I have no idea how to go about rendering multiple rows. this.clear(); wide = 10; high = 10; an = 0; b = 0; co = [0, 0]; this.up(); while (an < wide) { while (b < high) { b = b + 1 co[0] = (co[0] + this.tWidth[rot]); co[1] = (co[1] + this.tHeight[rot]); this.gotoXY((co[0] + this.tWidth[rot]), co[1] * Math.cos(0.935)); this.doStamp(); } an = an + 1 }; Probably just gonna rewrite the entire section of code and use this post as a backup copy.
  4. I've been doing OOP for years now and didn't realize this is what the acronym meant. Derp.
  5. EDIT: Nevermind, google turned up a result sooner than I thought it would.
  6. My jaw dropped seeing this code. Are those loops nested inside one another? What is the purpose of having these?
  7. I'd love to help, but while my JavaScript skills are strong, I have no experience with NodeJS
  8. There are libraries you can use with Python that are built for designing multiplatform games. One I know of (Although I can't remember the name of it) lets you write games for Android/iOS in addition to PC.
  9. Did some experimenting with porting the isometric tile generator to Snap!, it worked rather well and a 2.5 dimensional tile template can be made, gonna see if I can work out making vertical tiles as well

  10. Having acute bronchitis just sucks the life out of you one cough at a time, I was up till 5 AM because of coughing fits.

     

    Additionally, I have gotten zero work in on Tanskee since I pushed the first build to Itch.io using Butler, which really isn't a build but more of just the JavaScript that runs within the Sphere RPG Engine. I have yet to actually strip the editor and all of the extra bits away from the engine so that I can package it (The GPL license allows me to do this I believe, I gotta check on that first)

  11. I think the fact that third part adblockers such as Adblock Plus are causing a loss in revenue to google is why they might be implementing their own native adblocker, it allows people to browse ad-free without costing google a loss in revenue. So I agree with your reasoning as to what their practice will be if they make a native adblocker. Additionally I for one don't mind text ads in my google searches, they're not distracting or ruthlessly malicious so there is no harm done, if Google does go through with this (and gets it right) then kudos to them, this means I can just install Chrome and not have to install an adblocker in order to avoid ads constantly trying to force me into downloading their software and browser extensions.
  12. Hey guys, I'm going to be compiling an opensource RPG engine called Sphere from it's source in order to fix a graphical bug I'm experiencing on Windows, now I'm not familiar with C so I have no idea what i'm looking at. Does anyone know what's wrong with this code? It compiles to a DLL for using OpenGL. I'm assuming this is where the bug lies, when entering fullscreen while using this DLL as the video driver for sphere in fullscreen the image is squished so-to-speak leaving black black bars on the bottom and top of my screen. if (!fullscreen) { CenterWindow(SphereWindow, ScreenWidth * SCALE(), ScreenHeight * SCALE()); } else { // set fullscreen mode DEVMODE dm; memset(&dm, 0, sizeof(dm)); dm.dmSize = sizeof(dm); dm.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL; dm.dmBitsPerPel = DriverConfig.bitdepth; dm.dmPelsWidth = ScreenWidth * SCALE(); dm.dmPelsHeight = ScreenHeight * SCALE(); WindowStyle = GetWindowLong(SphereWindow, GWL_STYLE); WindowStyleEx = GetWindowLong(SphereWindow, GWL_EXSTYLE); SetWindowLong(SphereWindow, GWL_STYLE, WS_POPUP | WS_CLIPSIBLINGS); SetWindowLong(SphereWindow, GWL_EXSTYLE, 0); if (ChangeDisplaySettings(&dm, CDS_FULLSCREEN) != DISP_CHANGE_SUCCESSFUL) { error_msg = "Unable to set fullscreen mode"; goto error; } if (1) { DEVMODE dm; memset(&dm, 0, sizeof(dm)); EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &dm); if (dm.dmBitsPerPel != DriverConfig.bitdepth) { error_msg = "Unable to set bits per pixel, try a different setting"; goto error; } } // Set up window SetWindowPos(SphereWindow, HWND_TOPMOST, 0, 0, ScreenWidth * SCALE(), ScreenHeight * SCALE(), SWP_SHOWWINDOW); }
  13. Tablets are pretty much very large smartphones with the ability to make phonecalls removed in most if not all cases. Sure they have tried to sell these as laptop replacements but they're typically just not designed for that, sure you can slap a keyboard on a tablet and do stuff with it, but the experience is gonna be clunky and awkward unless that tablet is running full-fledged x86 or x64 editions of Windows. and tablets capable of this are often times extremely expensive and geared towards business use. I have a tablet, but I only really ever use it for watching anime/movies, reading, or drawing with a stylus.
  14. I'm currently using Ubuntu 16.04 LTS
  15. We should also mention that machine code is actually physically built into the hardware, it's also reffered to as the instruction set of a computer or processor. A 64-bit processor uses the amd64 instruction set typically it additionally can use the x86 instruction set.