Jump to content
  • Advertisement
  • entries
    23
  • comments
    21
  • views
    22703

BOATMATH 3.5: The Cube Moves The Boat Now

nerdboy64

2682 views

Just a mini-update this time, nothing too major. The biggest change is that in simulation mode the test cube will act as an engine, pushing the boat forward. In addition to this, there are a bunch of small changes made to the editor:

  • Machinery will appear in a translucent "preview" mode before being placed.
  • Scroll wheel now rotates machinery.
  • Machinery snaps to the horizontal grid by default, making it easier to line it up with the center of the ship. This can be toggled by pressing G.
  • Machinery will only be highlighted when you're looking at it instead of all the time (eventually, you'll click to select machinery and be able to change options for them, for example the caliber and barrel length of a cannon).
  • Right click deletes a surface or machine depending on which mode the editor is in.

Also I got a new video editing program so now I can fast forward through building the exact same boat again.



0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By gustavo rincones
      Hi, this is my first forum and I want to do it: quick way to calculate the square root in c ++ with floating data types. These types of functions are very useful to gain some CPU time, especially when used continuously. I will show you 3 similar functions and indicate the advantages and disadvantages of each of them. The last of these three functions was written by me. If you notice that the writing is a bit out of grammar, it is because I do not speak English and I am using a support tool. My native language is Spanish. Well, let's start:

      The First method is very famous was used in the video game quake III arena and you can find a reference in Wikipedia as: :https://en.wikipedia.org/wiki/Fast_inverse_square_root.
       
      The Function was optimized for improvements in computing times.
      float sqrt1(const float &n) { static union{int i; float f;} u; u.i = 0x5F375A86 - (*(int*)&n >> 1); return (int(3) - n * u.f * u.f) * n * u.f * 0.5f; }  
      -Advantages:
      * When Root of 0 is calculated the function returns 0.
      * The convergence of the function is acceptable enough for games.
      * It generates very good times.
      * The Reciprocal of the root can be calculated by removing the second “n” from the third line. According to the property of: 1 / sqrt (n) * n = sqrt (n).
      -Disadvantages:
      * Convergence decreases when the root to be calculated is very large.
       
      The second method is not as famous as the first. But it does the same function calculate the root.
      float sqrt2(const float& n) { union {int i; float f;} u; u.i = 0x1FB5AD00 + (*(int*)&n >> 1); u.f = n / u.f + u.f; return n / u.f + u.f * 0.25f; }  
      -Advantages:
      * The convergence of the function is high enough to be used in applications other than games.
      -Disadvantages:
      * Computing times are much larger.
      * The square root of “0” is a number very close to “0” but never “0”.
      * The division operation is the bottleneck in this function. because the division operation is more expensive than the other arithmetic operations of Arithmetic Logic Units (ALU).
       
      The third method takes certain characteristics of the two previous methods.
      float sqrt3(const float& n) { static union {int i; float f;} u; u.i = 0x2035AD0C + (*(int*)&n >> 1); return n / u.f + u.f * 0.25f; }  
      Advantages:
      * The convergence of the function is greater than that of the first method.
      * Generates times equal to or greater than the first method.
      Disadvantages:
      * The square root of “0” is a number very close to “0” but never “0”.
       
       
      The 3 previous methods have something in common.
      They are based on the definition of the Newton-Raphson Method. according to the function of the square root > f (x) = x ^ 2 - s.
       
      well thanks to you for reading my forum.
      well thanks to you for reading my forum.
    • By Jacob McGivern
      Currently, I am a beginner to intermediate level UE4. I wanted to expand into VR using the engine as well. I do not have any VR equipment and wanted to make an educated choice based on how it works to develop it using unreal.
      The main question is tethered vs untethered for development purposes. When you are actively playtesting and running your game while devloping, how does an untethered (occulus quest) work? Do I have to fully deploy and download the game everytime I want to see how it plays in the headset? For tethered systems (Rift S), when you hit play in UE4 and it is plugged in, can you see the game being played as if you were working with it on the PC? 
       
      Note: I'm not asking what VR system is better, i'm asking how does the debugging and actively playtesting the game work through UE4 based on a tethered vs untethered VR headset.
       
    • By G-Dot
      Hello everyone! Recently I was doing behavior trees for enemies in my game and I've stuck with one issue. One enemy type of enemies is called Shooters (working name). So they've got a simple behaviour: pick a point near player, go to it and perform some attacks. The issue is what then they are picking point to move it happens that often they took almost equal points and I often see heaps of them in one single place. I want them to spread across arena evenly, but don't know how to do this. I think that it can be done with more advanced work with blackboards and communications. 
    • By phil67rpg
      well I am working on a simpler game called tic tac toe, my question is how do I get the mouse click to draw an X on the  board. when I click the mouse nothing happens.
      #include <freeglut.h> #include <iostream> using namespace std; void drawBoard() { glPushMatrix(); glColor3f(1.0f, 0.0f, 0.0f); glBegin(GL_LINE_STRIP); glVertex3f(-18.75f, 6.25f, 0.0f); glVertex3f(18.75f, 6.25f, 0.0f); glEnd(); glBegin(GL_LINE_STRIP); glVertex3f(-18.75f, -6.25f, 0.0f); glVertex3f(18.75f, -6.25f, 0.0f); glEnd(); glBegin(GL_LINE_STRIP); glVertex3f(-6.25f, 18.75f, 0.0f); glVertex3f(-6.25f, -18.75f, 0.0f); glEnd(); glBegin(GL_LINE_STRIP); glVertex3f(6.25f, 18.75f, 0.0f); glVertex3f(6.25f, -18.75f, 0.0f); glEnd(); glPopMatrix(); } void drawText() { glColor3f(0.0f, 1.0f, 1.0f); glRasterPos2f(10.0f, 10.0f); glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24, 'X'); } void renderScene() { glClear(GL_COLOR_BUFFER_BIT); drawBoard(); glutSwapBuffers(); } void ChangeSize(GLsizei w, GLsizei h) { GLfloat aspectRatio; if (h == 0) h = 1; glViewport(0, 0, w, h); glMatrixMode(GL_PROJECTION); glLoadIdentity(); aspectRatio = (GLfloat)w / (GLfloat)h; if (w <= h) glOrtho(-100.0, 100.0, -100.0 / aspectRatio, 100.0 / aspectRatio, 1.0, -1.0); else glOrtho(-100.0*aspectRatio, 100.0*aspectRatio, -100.0, 100.0, 1.0, -1.0); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); } void mouseClicks(int button, int state, int x, int y) { if (button == GLUT_LEFT_BUTTON && state == GLUT_DOWN) { drawText(); } } int main(int argc, char**argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE); glutInitWindowPosition(600, 400); glutInitWindowSize(800, 600); glutCreateWindow("Tic Tac Toe"); glutDisplayFunc(renderScene); glutReshapeFunc(ChangeSize); glutMouseFunc(mouseClicks); glutMainLoop(); }  
    • By DVeNom
      Hello, my name is Sean, and I and my friends are putting together a team to create an Open-World RPG. As of right, it's all volunteer work. As we are wanting in the future that it will turn into something that people will want and love. If so all the people who volunteered will see their fair share. Even if this volunteer work it's also a great chance to show your skills and learn from other volunteers who joined the project. It's a chance to increase your resume on what you learned and what you have improved.
       
      Concept:
       The concept of the game is an RPG. I'm taking inspiration from games like Warcraft, Elder Scrolls, Destiny, and Fabled. While still creating something new and refreshing. We are creating the lore from beginning to end. This game will be story driven along with multiplayer components. There will be objectives to do every week to keep you coming back. I'm going for a rich narrative to have the players really get into the world that we are creating. There will be Dungeons, Raids, PvP, World Events, and Seasonal Events to have players always wanting more. 
       
      What I have
      Concept Artists, 3D Modelers, Level Designers, SFX Artists, Composer, Writers, Programmers, and a Web Designer.
       
      Volunteering Needs
       
      - Programmers
      Looking for Programmers who have the ability to program graphics, gameplay, audio, clan systems, Professions, Missions, etc. Needs to know BP or C++. Prefer knowing both. Trying to reduce the load on the current programmers.
       
      3D Modelers:
      Needing extra hands for 3D artists to reduce the load on the current modelers. Needing people who are able to model concept art and possibly create their own. I'm going for a more Fabled style graphics.
       
      If you are interested you can send me an email with your application including a sample of work at ssingl2583@my.sullivan.edu with ”RPG” as the Subject. Or you can message me on discord and my GT is D4ddy VeNom#3970. If anyone has any questions you can just message me below or the given email/discord.
      Here is some of our progress.
      https://drive.google.com/drive/folders/1-oO5YcTwJW-1XkrIDkDzokVWYmN7ocm_
      https://drive.google.com/drive/folders/1-t-aJmvM6Rve_RRaJbsAaj-wmLbAZgWj
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!